'Declaration Public Overloads Function CreateLinearGradientBrush( _
ByVal rectangleA System.Drawing.RectangleF structure that specifies the bounds of the linear gradient.As System.Drawing.RectangleF, _
ByVal angleThe angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.As Single, _
ByVal isAngleScalableA value indicating whether the angle is affected by the transform associated with the brush.As Boolean, _
ByVal ParamArray gradientStopsThe brush's gradient stops.() As GradientStop _
) As IDrawingLinearGradientBrush
public IDrawingLinearGradientBrush CreateLinearGradientBrush(
System.Drawing.RectangleF rectangle,
float angle,
bool isAngleScalable,
params GradientStop[] gradientStops
)
public: IDrawingLinearGradientBrush* CreateLinearGradientBrush(
System.Drawing.RectangleF* rectangle,
float angle,
bool isAngleScalable,
params GradientStop*[]* gradientStops
)
public:
IDrawingLinearGradientBrush^ CreateLinearGradientBrush(
System.Drawing.RectangleF^ rectangle,
float angle,
bool isAngleScalable,
... array<GradientStop^>^ gradientStops
)
Parameters
- rectangle
- A System.Drawing.RectangleF structure that specifies the bounds of the linear gradient.
- angle
- The angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.
- isAngleScalable
- A value indicating whether the angle is affected by the transform associated with the brush.
- gradientStops
- The brush's gradient stops.
Return Value
A new linear gradient brush.